libotutil: Add API to create an "ay" GVariant from GBytes
authorColin Walters <walters@verbum.org>
Wed, 14 Aug 2013 22:20:02 +0000 (18:20 -0400)
committerColin Walters <walters@verbum.org>
Wed, 14 Aug 2013 23:23:33 +0000 (19:23 -0400)
commit76cd7ae4ea876aa08bd8a85eb6cfdd4e31fbdd32
tree382f8a614fa131bf93c601157dbccb5f94245315
parent71f6f10cd282118b41516260dedce9b550e257b3
libotutil: Add API to create an "ay" GVariant from GBytes

We used to have a version of this, but since I'm trying to use
GBytes more, this became a more common operation, and it's annoying
to type out the whole G_VARIANT_TYPE ("ay") each time, and pass
TRUE for trusted.

https://bugzilla.gnome.org/show_bug.cgi?id=706031
src/libostree/ostree-core.c
src/libotutil/ot-variant-utils.c
src/libotutil/ot-variant-utils.h